/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package PACKAGE_NAME
 * @Description:
 * @Date 2025/5/14 17:16
 */

public class LoginImpl2 implements Login {
    @Override
    public void login(String password) {
        if (password.equals("123456")){
            System.out.println("登录成功");
        }
    }

    @Override
    public void register() {

    }
}